package com.ln.pojo.impl;

import java.sql.Timestamp;

import com.ln.common.Filter;
import com.ln.pojo.BasePOJO;

public class NotesPOJO extends BasePOJO {

	private static final long serialVersionUID = 1L;

	private int id;
	private int user_id;
	private String title;
	private int islevel;
	private int isrelease;
	private int isopen;
	private int _class;
	private String content;
	private Timestamp ctime;

	public int get_class() {
		return _class;
	}

	public void set_class(int _class) {
		this._class = _class;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUser_id() {
		return user_id;
	}

	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getIslevel() {
		return islevel;
	}

	public void setIslevel(int islevel) {
		this.islevel = islevel;
	}

	public int getIsrelease() {
		return isrelease;
	}

	public void setIsrelease(int isrelease) {
		this.isrelease = isrelease;
	}

	public int getIsopen() {
		return isopen;
	}

	public void setIsopen(int isopen) {
		this.isopen = isopen;
	}

	public String getContent() {
		return Filter.filterLabel(content);
	}

	public void setContent(String content) {
		this.content = Filter.filterLabel(content);
	}

	public Timestamp getCtime() {
		return ctime;
	}

	public void setCtime(Timestamp ctime) {
		this.ctime = ctime;
	}

	@Override
	public String toString() {
		return "NotesPOJO [id=" + id + ", user_id=" + user_id + ", title="
				+ title + ", islevel=" + islevel + ", isrelease=" + isrelease
				+ ", isopen=" + isopen + ", _class=" + _class + ", content="
				+ content + ", ctime=" + ctime + "]";
	}

	@Override
	public String getTable() {
		return "tbl_notes";
	}

}
